/**
 * @description 存储配置
 * @author hzx */

const { isProd } = require('../utils/env')



let MYSQL_CONF = {
    host: 'localhost',
    user: 'root',
    password: '123456',
    port: '3306',
    database: 'example'
}
// 线上的 mysql 配置

if (isProd) {
    MYSQL_CONF = {
        host: 'localhost',
        user: 'root',
        password: '123456',
        port: '3306',
        database: 'example'
    }

}

module.exports = {
    MYSQL_CONF
}
